package com.ygqh.baby.service.wechat.model.good;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * 好物圈——物品属性
 *
 * @Author: sunshuo
 * @Date: 2019/5/24 15:00
 * @Version: 1.0
 */
public class GoodProductAttr implements Serializable {

	private static final long serialVersionUID = 6269016629832922688L;

	/**
	 * 属性名称
	 */
	private String name;

	/**
	 * 属性内容
	 */
	private String value;

	public GoodProductAttr(String name, String value) {
		this.name = name;
		this.value = value;
	}

	@JSONField(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@JSONField(name = "value")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return "GoodProductAttr{" +
				"name='" + name + '\'' +
				", value='" + value + '\'' +
				'}';
	}
}
